<error>
    <message><?php echo $this->exception->getMessage(); ?></message>
    <trace><?php echo htmlspecialchars($this->exception->getTraceAsString()); ?></trace>
</error>